package com.atguigu.blog.service;

import com.atguigu.blog.pojo.User;
import org.springframework.stereotype.Service;
import org.springframework.transaction.annotation.Transactional;

import java.util.Map;

@Service
@Transactional
public interface UserService {
    Map<String, Object> showByUsername(User user);
    User showByUid(Integer uid);
    Integer change(User user);
}
